package d.z1.common.base;

import d.z1.entity.CustomerInfo;

import java.util.List;

/**
 * 业务层接口类
 * @param <T>
 */
public interface IBaseService<T> {

    boolean insert(T t)throws Exception;

    boolean delete(T t)throws Exception;

    boolean update(T t)throws Exception;

    List<T> selectAll()throws Exception;

    T selectId(Integer id)throws Exception;
}
